<!DOCTYPE html>
<html>
<head>
	<link rel="stylesheet" href="/src/css/bootstrap.min.css">
	<script type="text/javascript" src="/src/js/jquery.min.js"></script>
	<script type="text/javascript" src="/src/js/bootstrap.min.js"></script>
</head>
<body>
	<div class="container">
		<span class="col-md-2 ">
			<h2 style="color:pink">
				<a href="/"><b><i>AcCao.cc</i></b></a>
			</h2>
		</span>
		<div class="col-md-3 col-md-offset-4">
			<form method="get" action="/index.php/Index/search">
				<div class="input-group" style="margin-top:10px">
					<input type="text" name="search" class="form-control" placeholder="输入关键词查找">
					<span class="input-group-btn" >
						<input type="submit" class="btn btn-info" value="搜索">
					</span>
				</div>
			</form>
		</div>
		<span class="col-md-2 ">
			<a href="/index.php/User"><img src="{$_SESSION['uid']|uidimage}" class="img-circle" width="50px" style="border:solid 1px #FFFFFF"></a>
			<?php
				$cunum=D('Tx')->count();
				if($cunum!=0){
					?>
						<a href="/index.php/User/tx" class="label label-danger" style="margin-left:-10px">{$cunum}</a>
					<?php
				}

			?>
		</span>
	</div>

	<div class="container">
		<hr>
		{__CONTENT__}
	</div>
	


</body>
</html>